package org.poem.client;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author poem
 */
@Configuration
@Component
@Data
@ConfigurationProperties(prefix = "spring.canal")
public class ClientServiceConfig {

    private String ip;
    private int port;
    private String user;
    private String password;
}
